package com.aimei.worker.moduel.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration
//扫描dao或者是Mapper接口
//@MapperScan("com.aimei.worker.moduel.mapper*")
public class MybatisPlusConfig {
       /**
        * mybatis-plus 分页插件
        */

       /*@Bean
       public PaginationInterceptor paginationInterceptor() {
              PaginationInterceptor page = new PaginationInterceptor();
              page.setDialectType("mysql");
              return page;
       }*/

}
